package com.neusoft.ysu.npms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "departmentid", type = IdType.AUTO)
    private Integer departmentid;

    private Integer farmerid;

    private String medicare;

    private String water;

    private String housing;

    private String emergency;

    private String health;

    private String educate;

    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }
    public Integer getFarmerid() {
        return farmerid;
    }

    public void setFarmerid(Integer farmerid) {
        this.farmerid = farmerid;
    }
    public String getMedicare() {
        return medicare;
    }

    public void setMedicare(String medicare) {
        this.medicare = medicare;
    }
    public String getWater() {
        return water;
    }

    public void setWater(String water) {
        this.water = water;
    }
    public String getHousing() {
        return housing;
    }

    public void setHousing(String housing) {
        this.housing = housing;
    }
    public String getEmergency() {
        return emergency;
    }

    public void setEmergency(String emergency) {
        this.emergency = emergency;
    }
    public String getHealth() {
        return health;
    }

    public void setHealth(String health) {
        this.health = health;
    }
    public String getEducate() {
        return educate;
    }

    public void setEducate(String educate) {
        this.educate = educate;
    }

    @Override
    public String toString() {
        return "Department{" +
            "departmentid=" + departmentid +
            ", farmerid=" + farmerid +
            ", medicare=" + medicare +
            ", water=" + water +
            ", housing=" + housing +
            ", emergency=" + emergency +
            ", health=" + health +
            ", educate=" + educate +
        "}";
    }
}
